package com.fll.config;

/**
 *
 * 所有需要的url配置
 *
 * @Description
 * @Author fanlei
 * @Version 1.0
 * @Date 2018年09月12日
 */
public class UrlConfig {

    /**
     * 大模块跳转url
     * https://www.jikexueyuan.com/course/jsp/?pageNum=1
     */
    public static String pagingUrl = "%s?pageNum=%s";

    /**
     * 每个课程url
     * %s 课程id
     * www.jikexueyuan.com/course/2332_1.html
     */
    public static String courseUrl = "https://www.jikexueyuan.com/course/%s_%s.html";

    /**
     * 获取课程下载地址的url
     * seq 列表序号
     * https://www.jikexueyuan.com/course/video_download?seq=1&course_id=2332
     */
    public static String courseDownload = "https://www.jikexueyuan.com/course/video_download?seq=%s&course_id=%s";

    /**
     * 获取课程资源下载地址的url
     * https://www.jikexueyuan.com/course/downloadRes?course_id==2332
     */
    public static String courseResourceDownload = "https://www.jikexueyuan.com/course/downloadRes?course_id=%s";

}
